/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ie.tcd.cs.railtickets.server.dao;

import ie.tcd.cs.railtickets.server.domain.PathTime;
import ie.tcd.cs.railtickets.server.domain.Ticket;
import ie.tcd.cs.railtickets.server.domain.TravelPath;
import java.util.List;

/**
 *
 * @author Wenbo Sun
 */
public interface PathTimeDAO extends BaseDAO {

    public List<PathTime> findByPath(TravelPath travelPath);

    public PathTime findByTicket(Ticket ticket);
}
